package org.jackysoft.service;

import java.io.File;
import java.util.Collection;

import org.dom4j.DocumentException;
import org.jackysoft.data.IDataProvider;
import org.jackysoft.opensymphony.workflow.entity.WorkflowName;
import org.springframework.dao.DataAccessException;


public interface WorkflowNameService extends IDataProvider<String,WorkflowName> {
	    	  
	
		public Collection<WorkflowName> getSimpleifyWorkflows();
	
	    WorkflowName getByWorkflowName(WorkflowName name)throws DataAccessException;
	    String getDefineXml(String name) throws DataAccessException;
	    void updateOfContent(String workflowName,String content) throws DataAccessException, DocumentException;
	    void update(WorkflowName name,File temp,String fileName)throws DataAccessException, DocumentException;	   
}
